BEGIN{

}

function get_timestamp(time_text) {
    yy = substr(time_text,1,4);
    mm = substr(time_text,6,2);
    dd = substr(time_text,9,2);
    hh = substr(time_text,12,2);
    ii = substr(time_text,15,2);
    ss = substr(time_text,18,2);

	str = sprintf("%4s %2s %2s %2s %2s %2s",yy,mm,dd,hh,ii,ss);
	timestampt=mktime(str);
    return timestampt;
}

{
    #search logics
    start_timestamp=get_timestamp(start);
    end_timestamp=get_timestamp(end);
    current_timestamp=get_timestamp($1);

    if (current_timestamp>=start_timestamp && current_timestamp<=end_timestamp) {
       print $0;        
    }
}

END{

}
